Adjust paths so scanner works properly when plugin sym-linked into plugins directory.