Minor changes in RemoteExecutor and LocalExecutor. 

* Removed obsolete null-value check in the finally clauses in LocalExecutor
* Returning proper exit code in RemoteExecutor#executePlan()