fix rake detection when DATABASE_URL not present

Ensure that `rake -P` for task detection has stubbed DATABASE_URL if not using user-env-compile