[run_pipeline_type.sh]: make params optional and improve usability
Makes the [PROJECT] and [BRANCH] environment variables optional: indeed, we can rely on the logic in [run_pipeline.sh] to ensure that these variables are populated.
Also, make it possible to call the script from other folders.