See #4 for more background. Beyond the immediate problem, it would be nice to make cloudfoundry_source self-contained.