CB-5687 Teach util.isCordova about PWD.
CB-5688: check for required args