add an hack to avoid trailing slashes in the tag entries of the GT when writing to an sqlite file