There is an issue with hostfs with directories with a
'/' in their name (possibly files as well, I have not
tried that).
To recreate, create a directory called "!a/b" in
hostfs:$. Shift-double-click on the file and you will
get an error saying the directory does not exist.
Attached is a patch that fixes this. There may well be
a better way of doing it, though.
Make sure ro_leaf is converted to a valid host file name before comparing with host files.