Ensure the /code directory is owned by the build user.