Fix atom packages install function: ignore case correctly