Add a failover for non-existent files to manual path calculation and update tests