i'd drop the `location` check here -- `getMachineDetailsTask()` does the same thing so this method becomes easier to read when it's just one line