Change tests to not install git-daemon on debian

The git-daemon is not a valid package on debian based systems.
Update tests to not try installing git-daemon on debian systems.