The `tag` parameter of the compat `images/create` endpoint can be both,
a tag and a digest. Fix parsing of the parameter to detect digests and
use the appropriate `@` separator.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1884668
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>