environment does not support bash regex matching - providing implementation using grep and sed

1 job for aws-dest-env-from-branch in 14 seconds (queued for 1 second)