Fetch the controller in a safe manner. Fixes #11.
Merge pull request #12 from Drarok/fix-get-controller

Fetch the controller in a safe manner. Fixes #11.