check: fix fork detection if available