Database_uri and staging not getting populated correctly in a cross site environment