Fixes InstallProfile problems
Merge https://github.com/project-imas/mdm-server