Make "kpm restore" case-sensitive

- PackageRepository has different behaviors in different contexts