It's now similar to how attempts to access other non-regular files are handled.
Found by Coverity (CID 349483).