Issue #2416109 by alexpott, bircher, xjm, dawehner: Validate configuration dependencies before importing configuration