reinstate VCAP_APPLICATION kludgery for now

Signed-off-by: Simon Leung <leungs@us.ibm.com>