support/script/scancpan: fix corelist check

module could be removed of the core,
so check if the module is currently in the core,
but not if the module was once time included in the core.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
user guest
defconfig
network interface eth0
demo

set BR2_ROOTFS_OVERLAY with $(BR2_EXTERNAL)/overlay/
mojo skeleton

$ mojo generate app