Avoid trying to advertise if no classads are generated. Also consolidated some logging to make it easier to understand