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

As long as the `build.properties` are not officially and completely dead, we should use its values in the commands. (I was not able to 'build' one of my project without my properties)