Set package type correctly