TRUNK-4327 nfowler

https://issues.openmrs.org/browse/TRUNK-4327

I was not able to test this or replicate the error because I don't have Ubuntu. I did try to replicate the error on 1.9.0 and 1.9.7 but the error did not show up on my Windows machine.