Check for DG only if dataGamesProxyPrefix is set

[#55584804]