Fix bash syntax error

This fix the error:

/app/.profile.d/get-config-var.sh: line 14: syntax error near unexpected token `fi'