I thought I was going to fix this with the commits I'm working on, but it turns out it's a different problem. (The code returning ENOENT isn't setting an error message.) Releasing this ticket for now.