Fix typo
Handle no tags in repository better