Avoid uid/gid 0 metadata tests when ids don't exist
Avoid uid/gid 0 metadata tests when ids don't exist

Cygwin may not have a 0 uid/gid, so skip the relevant tests whenever
it doesn't.

We have to explicitly exclude the gid 0 from other_group, because
/etc/group may define a group named root with the same id as
Administrators. We cannot use "root" instead of 0, because root may
not be defined.

Cygwin users: If you want to define the root group, add this line
at the begining of /etc/group:
  root:S-1-5-32-544:0:

Signed-off-by: Patrick Rouleau <63d5de1631bda7ef519bef8dad039f592a2f1542@gmail.com>
Reviewed-by: Rob Browning <1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org>
Tested-by: Rob Browning <1dc5917c2adeeba13d1ef33dbb40691a1b67cc65@defaultvalue.org>

ToxicFrog/bup,gevaerts/bup,pombredanne/bup,mhoeher/bup,jbaber/bup,pombredanne/bup,jbaber/bup,pombredanne/bup,pombredanne/bup,jbaber/bup,gevaerts/bup,ToxicFrog/bup,mhoeher/bup,tjanez/bup,gevaerts/bup,tjanez/bup,ToxicFrog/bup,jbaber/bup,mhoeher/bup,mhoeher/bup,jbaber/bup,tjanez/bup,jbaber/bup,tjanez/bup,mhoeher/bup,ToxicFrog/bup,tjanez/bup,pombredanne/bup,tjanez/bup,mhoeher/bup,ToxicFrog/bup,gevaerts/bup,pombredanne/bup,gevaerts/bup