Handle refreshonly correctly

When not explicitely set to `false`, `refreshonly` was always interpreted as `true`.