fix(datastore): gracefully handle tags with broken links during imports
Related to #656 (closed)
After looking at a few samples of this error I could see that this is due to a zero byte tag link at docker/registry/v2/repositories/<repo>/_manifests/tags/<tag>/current/link
. This MR handles these gracefully by skipping their (pre)import.
Edited by João Pereira