templates/pipeline: use gitParameter to properly handle the checkout stage
using the REVISION job parameter.