fixing bad substitution variable for the log file
creating the /var/log/app dir in the post release step