Fixed a regression in edit package return Url

Fixes #1789 
Update the OR condition in SafeRedirectResult.
Tested the following scenarios :  
a. Return Url for edit package.
b. Return Url for authentication - login, lg out
c. Return Url for contact support