CFY-1071 changed if-statment location to run only in debug mode.
CFY-1071 changed if-statment location to run only in debug mode.

cloudify-cosmo/cloudify-rest-client,codilime/cloudify-rest-client,aria-tosca/cloudify-rest-client