Fix bug when sending debian package to repository