Added try catch for request_id null

When the request_id is null, there was an exception generated.
Currently setting the deployment to None for the reports
in case the request_id is null

Change-Id: Idde2178d217ac16f1b3e275c730e3fce68ba9f1b