better checks on input for repository-settings