Are you sure you are using Powershell 3 and not 2? The older version fails in this fashion if the drive does not exist locally. Split-Path is designed for file paths not Urls, sot he "drive" letter is "http:".