add a missing check that resulted in dereferencing a null provider
Merge branch 'master' of https://github.com/natcho/how-to