public static async Task <bool> IsLocationType(this IRemoteRepositoryLocationTypeProvider remoteRepositoryLocationTypeProvider,
                                                       string remoteRepositoryLocation, RemoteRepositoryLocationType remoteRepositoryLocationType)
        {
            var actualRemoteRepositoryLocationType = await remoteRepositoryLocationTypeProvider.GetRemoteRepositoryLocationType(remoteRepositoryLocation);

            var isLocationType = actualRemoteRepositoryLocationType == remoteRepositoryLocationType;

            return(isLocationType);
        }