Fix some errors in the source SCM plugin in the error paths.
Fix some errors in the source SCM plugin in the error paths.

paasmaker/paasmaker,kaze/paasmaker,paasmaker/paasmaker,kaze/paasmaker,paasmaker/paasmaker,paasmaker/paasmaker,kaze/paasmaker,kaze/paasmaker,paasmaker/paasmaker,kaze/paasmaker