Fixed logic error

	Patch provided by: Thorsten Sick <thorsten.sick@avira.com>
	This development was paid by Avira (http://www.avira.com) and by
	the iTES Project (http://www.ites-project.org/
Pydot parsing workaround

	Patch provided by: Thorsten Sick <thorsten.sick@avira.com>
	This development was paid by Avira (http://www.avira.com) and by
	the iTES Project (http://www.ites-project.org/