Adds null check for default bootclasspath

I didn't use `Option` because it doesn't make the code clearer.

I get 6 errors while running the tests, but I get the same on master. 

Fixes #33