Add the GIT_REV environment variable to /app/.profile.d

This allows child processes which might not have access to the
original environment to source the profile.d directory and gain
access to the information.

Additional bonus is that the output when pushing an app is much cleaner compared to using a Dockerfile.