fixed double $ error

getRepo method doesn't work properly because of double $ sign.