Repaired current release determination

Solution suggested by user jmarc at the Nas4Free forums to address issues arising from Nas4Free being built from patched versions of FreeBDS. The results from uname -r needed to be trimmed and sanitized so that the tarball fetch functionality is maintained.