BZ1169614: Inconsistent behaviour with repository creation