Don't crash if a new directory problem is invalid

Closes rhbz#967499

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Richard Marko <rmarko@fedoraproject.org>
Replace 'exception.message' with just 'exception'

message attribute of the exception
is deprecated as of python2.6 (PEP-0352)

- http://www.python.org/dev/peps/pep-0352/

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