Check if package are available before reading variable from net