This assumes $TRIPLEO_ROOT/tripleo-end-to-end exists. Maybe instead:

[ -d $TRIPLEO_ROOT/tripleo-end-to-end ] && cd $TRIPLEO/tripleo-end-to-end