fixed encoding of custom registry names