input_files: only check 'enable' if defined in the input_file

We should not rely on 'enable' set to 1 in the default config, because
when calling an other project in input_files with an enable condition,
this enable condition overrides the default enable for this project's
input files.