improve physical repository creation