Fixed problem caused by relying on '.' being in PATH
Authored by: andy_rushton 2010-07-29
Parent: [r393]
Child: [r395]