If this doesn't work on LXC it seems like it would be better to avoid running it at all. Is there a way to bypass this check if /dev/mem is not readable, to save time?