Make sure manifest-5.1 and manifest-5.2 are generated and used only when dealing with the remote server.