Improve error message for forgetting to use source with activate and deactivate

Fixes #601.