Under SmartOS the `osrelease` grain is `None`, handle that case.

* Double to single quotes.

This won't happen again if #5403 get's merged, but, doesn't hurt right?