Raise more sensible error on non-existent globals