if user machines doesn't exist on page load, retrieve

There is no need to be safer in this case. Using plain `if` without the `?` is just safe.