Revert the changes to get-module-id and get-module-file