Remove erroneous check call since rgw is already running.

Make sure port number is included in hostname.
Remove a double definition of testfileloc.

Fixes: 7374
Signed-off-by: Warren Usui <warren.usui@inktank.com>