Packager: Fix dependency detection
Packager: Fix dependency detection

Apparently local wipes the value of $? and not unsetting conditionally
set variables results in bad output.

rdio/rdio-infrastructure-opensource