Fix dotcloud support

dotCloud support broke with recent changes. This fixes it.