detect wrong bundle type and report it to the user
Merge pull request #495 from basvandervlies/master

detect wrong bundle type and report it to the user