Fixed minor bug with badly parsed directories in magit setup