RenamePreconditions: check if project state is not null Avoid NullPointerException when performing ssh rename-project on a non existing project. The cause of null pointer is ProjectCache.get() method which returns null if no such project exists. Change-Id: Ifea14a48bf61e14306bb09bfbe387d7a8f2b5325