Make installing kernels more robust

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Check this out:
```
remote.os.package_type
```