Merge pull request #375 from marcj/master

Fixed MigrationManager::getPlatform
Use the `build.properties` in almost all commands if `input-dir` is available.