fetch2/perforce: Ensure command has a default

Ensure there is default command available if FETCHCMD_p4 isn't set.

Also clean up the getVar references whilst here.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>