[db] fixes a problem with gpg executable location on osx and the test for vim install on osx