Added error logging when the user forgets to specify the site name
Added integration test