Fix generation of .packages files to work correctly in dart_vm_test
Fix generation of .packages files to work correctly in dart_vm_test

When package is external, lib_root location is now correct.
DrMarcII/rules_dart,dart-archive/rules_dart,dart-archive/rules_dart,DrMarcII/rules_dart,dart-archive/rules_dart,DrMarcII/rules_dart