added check to ensure we do not fail if PyQt5 is not in sys.modules
Merge pull request #290 from ablasdel/groovy-devel

added check to ensure we do not fail if PyQt5 is not in sys.modules