De versioncmp function was being called with wrong input values. The operatingsystemrelease was compared against 8.0. Therefore, the key for Debian 9 was being applied. By changing the value from 8.0 to 9.0 the issue is resolved. This is also tested on both Debian 8 and 9.
De versioncmp function was being called with wrong input values. The operatingsystemrelease was compared against 8.0. Therefore, the key for Debian 9 was being applied. By changing the value from 8.0 to 9.0 the issue is resolved. This is also tested on both Debian 8 and 9.