sudo::params and thus sudo::directive usage requires to have sudo called before.