discover/paths: Check process exit status when loading URLs