removed debug stmt, check to see if directory is get repo