Checking null results for local operations