_get_current_tag returns if package_name is invalid