Make `passenger-config system-metrics` work properly if the agent is installed in ~/.passenger.

Closes GH-1304.