${system.bamboo.agent.home} needs to be defined for all agents, otherwise it makes running pre and post build scripts break.