build: Exit with a fatal error if no snapshot is available

If the user didn't run the resolve task we won't find a snapshot file,
in this case we exit with a fatal error.