Improve parsing of REQUIREMENTS variables in python templates
This MR fixes issues with the parsing and use of REQUIREMENTS
variables in the form python -m pip install ${REQUIREMENTS}
. This fails when the variable contains arbitrary quoting e.g. REQUIREMENTS: "'flake8>=4.0.0' flake8-other'"
; using xargs
resolves this.