Implement a validator for checking that a repository exists

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>