Hello,
 
This patch has introduced an issue while building recipes without any files installed or packaged. Prime example for this is meta-toolchain [1]. As, previously the error was hidden in the for loop - an explicit failure is causing an issue while building meta-toolchain et al. I believe the fix is either to `inherit nopackages` for meta-toolchain like recipes or modify the previously submitted patch to not hard-fail.
 
1: https://git.openembedded.org/openembedded-core/tree/meta/recipes-core/meta/meta-toolchain.bb
 
Thanks,
--Atharva