Correcting relative path determination