If isset to avoid warning message in migrate-ui for publications