plugins: fix retrieving list of plugins
logging: reset handlers when setting logger
wait for command: strip WS from items
build-image: more verbose logs
build-image: check if df dir exists
add tests for CLI