Don't fail build script for successful .deb build

Due to the source code check being last in the script, the script would exit with a failure code even if a .deb file was successfully created (which can cause make or other build processes to fail). This change will ensure that only the exit code of the `ls` statement is used.