use absolute path for checking if a plugin directory is actually a direc...

...tory.

otherwise the plugin wont be started.