Refactor spec
Skip checksum for some paths if they do not exist

* This will skip lib/assets and vendor/assets without error
since some projects do not have those directories.