patch gitignore with realpath for ctf.db