Fixed NPE when project's have no dependencies. Added doc target