Skips a relationship where source or destination is nil (cherry picked from: https://github.com/pcdoc80/rails-erd/commit/9c85f1e8645f0bc891432512119948593f3262df)