[sr-dev] git:4.0: xhttp_pi: fix crash when checking bad configs