support fetching the instance index from the new Diego environment variables

Signed-off-by: David Wadden <dwadden@pivotal.io>