Exclude UI directory from Core sub spec.