fix merge_chunks extract_chunks method

1 job for placebo_localization in 23 seconds (queued for 4 seconds)
latest
Status Name Job ID Coverage
  Check Branch
failed reject:other:branches #6391339

00:00:23

 
Name Stage Failure
failed
reject:other:branches Check Branch

Skipping Git submodules setup
Executing "step_script" stage of the job script
Using docker image sha256:53ae2a3a2cd3c0155a42ea88b0b991c3dcd86f21b7174bd123abe064b9dbec85 for continuumio/anaconda3 with digest continuumio/anaconda3@sha256:70915870bb4c3b1963252c674a49babc9334b693985855c7b84f7a3c88a538bc ...
$ if [[ $CI_PIPELINE_SOURCE != "push" ]];then exit 1; fi
$ if [[ $CI_COMMIT_BRANCH =~ ^(master|baseline_master|placebo|(dev_.*))$ ]] && [[ ! $CI_COMMIT_BRANCH =~ ^dev_(placebo|baseline)$ ]];then exit 0; else echo "Branch name is invalid."; exit 1; fi
Branch name is invalid.
Cleaning up file based variables
ERROR: Job failed: exit code 1