Sometimes __file__ points to the .pyc file.
Rename _plugin_dir to PLUGINDIR.
action #3556 - bug in staging select
Merge pull request #233 from aplanas/master

Sometimes __file__ points to the .pyc file.