Bugfix: adding regex to exclude None/none declared dependencies or commands