Added the logic to stop the compression and subsequent upload process when there is no differences in files

Closes the following issues:
Fixes #1