Add isLocalPath helper, for Windows support