Cleaned up packaging script.

Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>