Remove unused requires
Find tags relative to master branch (instead of HEAD)
Properly resolve relative paths given on command-line