[db] fixes bug with the new git trick