Move remotebackend http check to separate macro