fix /etc/apt/sources.list.d test (if -f instead of if -d)