prepare-core.sh: Ignore dependencies without an 'init' target.