No RSP path return of clean_flags doesn't return enough values
The "clean_flags" function returns early if no RSP path is supplied to the function. However, it wasn't updated to return 3 values like the function does when an RSP path is found. Fix it.