Recognize invalid 'sources' entry

Fail if a source entry is not a valid directory or a handled
source type.