Throw InternalError when failed to create entity in CreateEntityContext.
Change ftp repo url for new server.
First commit for 1.6.4