[PATCH] taginfo: return error code if tag does not exist, drop stray newlines