Fixed CI script for dependency graph generation

- ignored spec directories