MDL-45172 block_completionstatus: added a check for an empty string before appending