Ticket 49087 - ds resolve jenkins issues.
Bug Description: Our jenkins tests were failing, resolve it!
Fix Description: This fixes the use of the paths module in many cases, and
fixes the debugging in addn tests.
https://fedorahosted.org/389/ticket/49087
Author: wibrown
Review by: nhosoi (Thanks!)