Improved error logging when site or item are missing. Was throwing null reference.