LPS-34249 We shouldn't allow the user to select file entry type when the user is in external repo
LPS-34249 Apply condition to the struts action too