fix: check for os-release instead of just directory