I think the above can be collapsed into a single line, readability is improved probably then.

More important: sanity_check_paths are missing here, I suggest they get added wherever needed; ditto for the other nearby easyconfigs!