carry over fix from https://issues.apache.org/jira/browse/AMQ-3789 don't set temp dir unless starting broker.