Fixed a bug causing plovrBuild to fail.

Fixed a bug I introduced in the last round of fixes. This feels less then
optimal now as the paths list is calcuated more than once. The bug is
fixed, but some optimisation is still required.