Make sure the path passed to the activity manager is normalized