New South Wales Police said there was no imminent terrorist threat after making the arrest