Update self-hosted mode to work if PHP.Gt is a submodule

Signed-off-by: Greg Bowler <greg.bowler@g105b.com>