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

* Double to single quotes.