Fix install Oozie for vanilla 2 plugin

If you build all images for vanilla plugin then for vanilla 2
image install oozie with hadoop 1. This patch fixed it.

Closes-bug: #1305123

Change-Id: Ic9911b05774b063dc7640d8fdaa684fa7688ae71
(cherry picked from commit 2cdd719cd951b55d4a3126668643db21fdfda55d)