I thought the ReposeConfigurationProvider handled the retrieval of available ports automatically.