Fix for issue with url check for Windows paths