Fix error when hg isn't installed on the system.