Hiding error message if git is not used for checkout 

closes #2732