Make plugin compatible with sublime text 3

With this little fix plugin seems to be working fine even in st2