Fix for Notice

Hi guys!
I've started to follow the project, I'm particularly interested on BitBucket integration.
Testing the plugin I found an Undefined variable notice, now it's fixed.