Fix EZP-22126: Not possible to install/use ezpublish5 using git installation

Closes #685