allow non-lowercase package names

fixes #3438