master: Fixed NullPointerException that occurred when the current branch had no tags.