Added checking for $psake.build_success.