fix config parsing

Fails if config doesn't contain spaces.

Signed-off-by: Richard Marko <rmarko@fedoraproject.org>
remove unused import

Signed-off-by: Richard Marko <rmarko@fedoraproject.org>
add newline at the end of file

Signed-off-by: Richard Marko <rmarko@fedoraproject.org>
use only first line of commit as pull request title

Put the rest to the body.

Signed-off-by: Richard Marko <rmarko@fedoraproject.org>