[PROVISIONING] bug fix: same conditional used twice in if statement

Signed-off-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>
Merge pull request #12 from jpoutiai/master

[PROVISIONING] bug fix: same conditional used twice in if statement