'Returns the `package_path` if the app is packaged.'

def get_package_path(self):

    if (not self.is_packaged):
        return
    version = self.current_version
    if (not version):
        return
    try:
        file_obj = version.all_files[0]
    except IndexError:
        return
    else:
        return absolutify(os.path.join(reverse('downloads.file', args=[file_obj.id]), file_obj.filename))
