Added validation to Git::_host()