fix a bug in reading of optdepend entries