LPS-42325 Prevent null pointer exception when the customAttribute doesn't exist