[db] fixes bug in .bashrc_git with home directory on osx