Update device regex starting with relative path

paths starting with relative path to another drive for example `../../d:/some/dir/` are not resolved correctly. This regex update fixes it.