LPS-46842

Hey Brian,

This comes from https://github.com/brianchandotcom/liferay-portal/pull/18890#issuecomment-44613437. We can safely removed the variable.

This is from @adolfopa:
The assignment to the `repositoryId` variable was in the original code before the refactoring (see the `LiferayRepository#initByRepositoryId` method in commit cabf987) so it was kept to guarantee the same behaviour. As it is impossible for the `repositoryId` to be different to the value of `repository.getRepositoryId`, we can remove it safely.