Remove trailing slash when saving msysgit path