Check if hg or git actually exist before creating aliases.  The
duplication annoys me