workflows: workflow name fix

* Function get_workflow_name() returns 'sample_workflow' unstead
  of None if the id_workflow is None.

Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>