Last character validation added for 'loadstaticDirectory' option.