Runtime fix for buildmode type path inputs, incorrect paths are now rejected.
Merge pull request #1025 from Aranclanos/BuildModeInput

Runtime fix for buildmode, type path inputs by the user being incorrect.