[scripts] metadata.pl: fix a bug where dependency flags (@ and +) from a dependency...