Add conditional check to determine if site definition present