Update Arabic translation
Move profile directory check to after checking for application mode

Since application mode also has a profile directory, we will enter the
non-app-mode profile shell mode instead.
uri-tester: fixed a G_CRITICAL when regexp was NULL

Do not unconditionally unref the regexp in case of error because it could be
NULL.