Set the APPLICATION_DIR in any case

Change-Id: I2c6a942d8431135873719f110db04f7fd1ff5e29
Assume different dirs per app/version

Change-Id: I18886f2b6dfed2e807bf31947d255f776391d668
tag v0r0p23

Change-Id: I8ab4dd498f496ecc38cd18ca6819ff028240c9fe