Fixed minor bug and the uploading of entitlements

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>