If for some reason the `smcloud_api_key` is an empty string it would also fail, rather check for `None`