change checking logic of Puppet Repo DEB