fixed problem when dest is a dirname
git ci -m