Current logic didn't make sense and made condition to be always true
for ubuntu/debian regardless OS version. While for bionic it should have
remained as false.
Change-Id: I5a2cfa40dbcd8116065892e5994898914fd0480b
(cherry picked from commit f441b212f5786f07472c103b36aa6224b19bbf25)