Add more check around boom file validity