The script performs P4 commands even if -NoP4 was specified.
It should properly handle -NoP4 by checking for
Run the RebuildHLOD UAT command without -NoP4, and without a proper p4 environment setup (P4PORT, etc)
Notice the script still tries to perform P4 commands.
There's no existing public thread on this issue, so head over to AnswerHub just mention UE-135960 in the post.