Works when default/gitlab is modified

moved 4 lignes affectation after the instruction 'test -f /etc/default/gitlab && . /etc/default/gitlab' because the if test works, variables modified $app_root or/and $app_user will not affect other variables after dependent on these 2 variables.