Hotfixes

This provides two small hotfixes detected while setting up the buildbot
solution.

Strangely enough, that Travis didn't notify us about the first (python3
related) problem.

Strange also, that we didn't see the second problem (with test_aperture)
from either Travis nor Cdash output. Maybe, there was a different problem
with this test before, that got fixed in the meantime?