Check for nil before parsing assets