Fixes bug in processing --dependency options.