CID-1237196: Fix potential NPE in SAMLUtils

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>