Fixed err (revertVersionFiles case) and added tracing for why $PATH
appears wrong on TeamCity (temporarily)