make sure it also works when there are no git tags