[cwconfig] Fix exception handling when building the cube dependency graph
UnorderableGraph exceptions do not have a 'cycles' property. A simple
cast to str does the job.
<div id="ajaxroot">
<div class="ajaxHtmlHead">
<script src="http://foo.js" type="text/javascript"> </script>
<link rel="stylesheet" type="text/css" media="all" href="qunit.css" />
</div>
<h1>Hello</h1>
</div>