fixed minor issue breaking the CMS when CloudAssets is disabled in YML

if cloudassets.yml is set to
CloudAssets:
  disabled: true

$this->getCloudBucket()->isLocalCopyEnabled() throws an error, as getCloudBucket() returns null (line 63 of CloudAssets.php)