Handles the absence of reference attribute (#320)
Handles the absence of reference attribute (#320)

Actually, if getReferenceAttributeForNode(currentNode) returns null, url.parse is still called and it returns an error. This modification take this case into account and avoid an error.

Co-authored-by: Yuri Skorokhodov <75f827ab8484b4b9c6660461549bbe8c46385d68@microsoft.com>
Microsoft/taco-simulate-server,Microsoft/taco-simulate-server