Disambiguate add path with --
Restore commit autocmd

Closes #505.