Issue #3012050 by amateescu, jibran, pookmish, Berdir: Prepare for the conversion of path aliases to entities