Keep key as name in install options
Trim package names and remove empty ones