fix for getting scm url and branch for hg repos
Remove sys.path changes added for debugging
Correct name of testcase
Merge pull request #226 from sateeshkumarb/hg_scm_fix

fix for getting scm url and branch for hg repos