Set pipefail for manage projects command

Simple stdout redirect '>' will not write file
in case of command failure, so it would be better to use
use tee after pipe with setting pipefail in shell.

Change-Id: I26e7eaf657b5126f0d2c11356662f64b50ebe4d3
Related-bug: #PROD-23899 (PROD:23899)
1 file changed