The difference with ProjectManager.makeProjectRelativeIfPossible is that this one returns `undefined` when it's not possible to make it relative and some of the uses seem to rely on that.