allow environment variables too

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>