Make Perforce status code guard against P4 not installed, or P4 offline.