Small simplifications in BootstrapApplicationListener

Fixes gh-42