Misleading error message 2069

Fixes #2069 - raise an error in case of an empty extend selector. 

Note: I'm not sure why values order in source map changed. It does not seem to be caused by my change, it was failing before I made them.