Fix rhtml-find-action

Code copied from ag.el to guess project root based on git root.