Add --local-dir option to force install from a local directory