Skip system record tests if there is no /sys

This is a common scenario in automatic package build environments.