Correctly resolving Package aliases