[MOCO][ZacYang]Fix rare chance when xpath parse will raise null pointer, from live project