Improve check for presence of /dev/shm/resolvconf