treat Mac case (has no file /etc/os-release)

Change-Id: I3d0fafd52687f53cca6453521640137241644f84