[entropy.client.package] install: correctly deal with mkdir, makedirs errors