Fix bug in checkModuleDepends() method