Fix permissions on create-repo script