git-p4: fix small bug in locked test scripts