Updated configuration handling

Ensure that tasks are askipped if no sites or upstreams are specified.