Fix: discovery paths fix #1132