Fix to prevent path detection fallback for mono-sgen and pedump