Detect unmounted /proc and don't use it
Fix os_deps return bug for /proc