fix unknown option being applied when installing local packages