Split path determination into two parts: internal (deadline://) and external (project://)