puppetlabs/packaging — pull request #121 by MosesMendoza (2013-04-19 18:59:42+00:00)
Title: Don't try to rm nothingness

Currently if we don't use random mockroot, we try to rm an uninitialized
variable, which breaks in funny ways depending on your ruby version. Here we
explicitly set confdir to nil and then rm it later only it isn't nil.

Signed-off-by: Moses Mendoza