config command line option 'modified' fails

- move global name 'base_dir' before the population of _glv
- delete variable 'ov' which is used only in a procedural block
  that is executed in the global scope

Bug 66950

Change-Id: I482ce11abd1a0a6b078ef489ee1256fde2320758
Merge "config command line option 'modified' fails"