don't select empty lines if there is an empty or not existing picture directory