Fix plugin path prefix on root. Closes #1720