Slight refactor on provider transport method

The first if block will never be used, so I removed it to clear up
confusion