Use tag name for hashing to allow creating new tags

This workaround is necessary until BZ#1084301 is fixed which will
allow to create new tags explicitly using the Tag.create() method.