Handle missing dependecy tag

The tag for a dependecy is optional. Handle the case when it is missing.