[PR] Fix a notice when adding a new site

This should only run when editing a site's current information.