Handle missing getloadavg and pwd in raven test (fixes GH-296)