fix(scaffold property): since the scaffold property is a map, it makes sense to have the "exclude" property checked before using it, thus avoiding some NPE