Fix #904 - handle empty tag names returned by API
Merge commit '732f81a8ca43ad7942a2573679dcd0ad2990795f'