Prevent use of malfunctioning Modulefile after import from Forge

Closes #526