add missing dependency for the target metadata scan