[test][protocoltemplateeditor] Cleaned declaration file retrieval

2 jobs for assettype_improvements in 14 minutes and 41 seconds (queued for 4 seconds)