Fixed up error messages when project-commands is loaded via import-module.