fix module list parsing; closes #102

Signed-off-by: Michal Toman <mtoman@redhat.com>
Signed-off-by: Martin Milata <mmilata@redhat.com>