fix polling for package repository