nitdoc: Add a function to check if the repo informed is existing, the
function is called before the commit