Sorry, this is a non-issue, still we should check it in a way it precludes windows positives, e.g. endswith('win'),  == 'darwin', etc..
Taking a look at the underlying problem, mac address parsing ...