fix issue when repo has no tag
Merge pull request #26 from cordoval/fix-issue-when-repo-non-tagged

fix issue when repo has no tag