Adjust to new rmadison output format.
Have the check command also cleanup previous build cache.

The cache is used for the lint, sign and upload commands.