I changed the check a bit according to `getModuleUrl()` and fixed the comment, should be much more clear now.