Silence "grep: /etc/release: No such file or directory" on FreeBSD

Test for /etc/release existance before diving into determining whether this is SmartOS or SunOS.