Fixed bug #25556 in register publish when storage is a drive on Windows.
This would result in the first character of the path_cache field being
cropped off which then stops find_publish from working!