get buildDirectory from Build
get buildDirectory from Build only as a fallback
removed blank line
removed blank line
added mockup behaviour to prevent NPE
Merge remote-tracking branch 'muffl0n/1.7_fix_buildDirectory' into issue900
Merge branch 'issue900' into 1.7.x