tests: improve error reporting for ECMAddAppIconTest
when checking whether there were new sources added (on Windows and Mac), check whether the variable is empty as list, instead of failing because of a cmake syntax error