normalise 'build' function args to match 'release' and 'deploy'
if ENV exists in the dokku git repo, pipe it into the build dir so buildstep will source it