Fixed the bug that made rupgrade ignore permissions checks for RAM Session

Problem was it was returning too early from the function