Fix repo name retrieval