LPS-32975 RepositoryException being thrown when NoSuchFileEntryException expected

Signed-off-by: Alexander Chow <alexander.chow@liferay.com>
LPS-32975 Source formatting

Signed-off-by: Alexander Chow <alexander.chow@liferay.com>
LPS-32975 Source formatting