bug: Check to make sure $ost is initialized
Merge pull request #1456 from protich/issue/1455

bug: Check to make sure $ost is initialized

Reviewed-By: Jared Hancock <jared@osticket.com>