LPS-46842 remove the `actualRepositoryId` variable

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.