packaging: remove bash usage from tools

bash usage for scripts should be discouraged in favor of POSIX sh.

remove the argument# validation as the java already validates it.

Change-Id: I40064044a6da2b1088ee5d40eff874b9f8db66c3
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>