add type check in CP2K easyblock

@wpoely86: please review
you're right, that's better, will fix, thx