CB-6432 pre_package hook does not populate %CORDOVA_PLATFORMS%

close #160