packaging: fixed function of database user creation

Change-Id: I24f6e7f21ee8e448d71ff603aa8c840ba65ebea7
Bug-Url: https://bugzilla.redhat.com/1027894
Signed-off-by: Yaniv Dary <ydary@redhat.com>