workaround for a bug in org-attach-commit

org-attach-commit runs git in org-attach-directory even if the current
entry has a different attach directory specified (via ATTACH_DIR prop)