Modify: get realpath of source file in cli